package cal;


import org.junit.Assert;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by chengxiaoqi1 on 2018/7/31.
 */
public class Cal {

    Logger logger = LoggerFactory.getLogger(Cal.class);

    @Test
    public void test() {
        System.out.println(
                2.0e-6 * 100000000.1
        );

        logger.error("111");
    }

    @Test
    public void testBoolean() {
        Assert.assertFalse(
                true && false || true || true
        );
    }

    @Test
    public void cal2() {
        System.out.println(
                (1 + 2.236)/2
        );
    }

    @Test
    public void cal3() {
        System.out.println(
                1 + 2 + 3 + 4.0
        );
    }

    @Test
    public void cal4() {
        System.out.println(
                4.1 >= 4
        );
    }

    @Test
    public void cal5() {
        System.out.println(
                1 + 2 + "3"
        );
    }
}
